package com.lancer.cloud.user.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lancer.cloud.common.base.mapper.BaseMapper;
import com.lancer.cloud.user.entity.SysRole;
import com.lancer.cloud.user.entity.vo.SysRoleQuery;

/**
 * 角色表 Mapper 接口
 *
 * @author caijinbang
 * @since 2018-10-16
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {


    /**
     * 分页查询
     * @param query
     * @return
     */
    IPage<SysRole> pageByQuery(SysRoleQuery query);


}
